package com.it.bean;

public class Staff {
    public int length;
    private String staffname;
    private String staffidnum;
    private String staffage;
    private String staffsalary;
    public Staff(String staffidnum, String staffname, String staffage, String staffsalary) {
    }

    public Staff() {
        this.length = 0;
        this.staffname = staffname;
        this.staffidnum = staffidnum;
        this.staffage = staffage;
        this.staffsalary = staffsalary;





    }

    public Staff(int i, int i1, int i2, int i3) {
    }

    //姓名
    public void setStaffname(String staffname) {
        this.staffname = staffname;
    }
    public String getStaffname() {
        return staffname;
    }
    //编号
    public void setStaffidnum(String staffid) {
        this.staffidnum = staffid;
    }
    public String getStaffidnum() {
        return staffidnum;
    }
    //年龄
    public void setStaffage(String staffage) {
        this.staffage = staffage;
    }
    public String getStaffage() {
        return staffage;
    }
    //工资
    public void setStaffsalary(String staffsalary) {
        this.staffsalary = staffsalary;
    }

    public String getStaffsalary() {
        return staffsalary;
    }

    @Override
    public String toString() {
        return "Staff{" +
                "length=" + length +
                ", staffname='" + staffname + '\'' +
                ", staffidnum='" + staffidnum + '\'' +
                ", staffage='" + staffage + '\'' +
                ", staffsalary='" + staffsalary + '\'' +
                '}';
    }
}


